<div class="layuimini-container layuimini-page-anim">
    <div class="layuimini-main">

        <fieldset class="table-search-fieldset">
            <legend>搜索信息</legend>
            <div style="margin: 10px 10px 10px 10px">
                <form class="layui-form layui-form-pane" lay-filter="dataSearchBar" action="">
                    <div class="layui-form-item">
                        <div class="layui-inline">
                            <label class="layui-form-label">配置名称</label>
                            <div class="layui-input-inline">
                                <input type="text" name="name" autocomplete="off" class="layui-input">
                            </div>
                        </div>
                        <div class="layui-inline">
                            <label class="layui-form-label">状态</label>
                            <div class="layui-input-inline">
                                <select name="status" lay-filter="status">
                                    <option value="">--请选择--</option>
                                    <option value="0">禁用</option>
                                    <option value="1">启用</option>
                                </select>
                            </div>
                        </div>
                        <div class="layui-inline">
                            <button type="submit" class="layui-btn layui-btn-primary"  lay-submit lay-filter="dataSearchBtn"><i class="layui-icon"></i> 搜 索</button>
                        </div>
                    </div>
                </form>
            </div>
        </fieldset>

        <script type="text/html" id="toolbar">
            <div class="layui-btn-container">
                <button class="layui-btn layui-btn-normal layui-btn-sm data-add-btn" lay-event="add"> 添加 </button>
                <button class="layui-btn layui-btn-sm layui-btn-warm" lay-event="exportAll"> 导出全部 </button>
                <button class="layui-btn layui-btn-sm data-add-btn" style="background-color:#9873e5" lay-event="exportSelect"> 导出选中 </button>
                <button class="layui-btn layui-btn-sm data-add-btn" id="import" title="导入.pupa文件"> 导入 </button>
<!--                <button class="layui-btn layui-btn-sm layui-btn-danger data-delete-btn" lay-event="delete"> 删除 </button>-->
            </div>
        </script>

        <table class="layui-hide" id="viewTable" lay-filter="viewTable"></table>

        <script type="text/html" id="viewTableBar">
            {{#  if(!d.readOnly || isAdmin){ }}
            <a class="layui-btn layui-btn-normal layui-btn-xs data-count-edit" lay-event="edit">编辑</a>
            <a class="layui-btn layui-btn-xs layui-btn-danger data-count-delete" lay-event="delete">删除</a>
            {{#  } }}
            <a class="layui-btn layui-btn-xs" style="background-color:#e3985b" lay-event="mapper">映射</a>
            <a class="layui-btn layui-btn-xs" lay-event="extend">扩展</a>
            <a class="layui-btn layui-btn-xs layui-btn-warm" lay-event="template">模板</a>
            <a class="layui-btn layui-btn-xs" style="background-color:#9873e5" lay-event="copy">拷贝</a>
        </script>

    </div>
</div>
<script src="/js/common/convert.js"></script>
<script src="/js/biz/config/list.js"></script>